package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.BaseAttrInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 李旭
 * @create: 2021-08-24 14:40
 **/
public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {

    //查询平台属性及属性值集合  手写SQL  二张关联查询  入参：3个
    List<BaseAttrInfo> attrInfoList(
            @Param("category1Id") Long category1Id,
            @Param("category2Id") Long category2Id,
            @Param("category3Id") Long category3Id);
}
